#ifndef SETTING_H
#define SETTING_H
#include <QString>
#include <QSettings>
#include <QDir>
#include <QCoreApplication>
#include <QDebug>
#include <QSharedPointer>
#include <common.h>
class Setting
{
public:
    Setting();
    QString ConfigureName;
    QString ConfigureFilepath;
    void init(QString name);
    void Start();
    QSharedPointer<QSettings> set;
    bool isDirExist(QString fullPath);
    bool ConfigurExist(QString path);
    void setDefaultValue();
    void ReadConfigure();
    void SetDefaultConfigur();
};

#endif // SETTING_H
